package com.zch.utils.webHook.alarm;

public abstract class AbstractAlarmMarkdown {
    String markdownStyle = MarkdownStyle.FEISHU.name();//默认是飞书 后续再扩展其他
    String alarmTitle;
    String webHookUrl;
    String env;

    public abstract String getMarkdownJson();
    public static  enum MarkdownStyle {
        FEISHU
    }

    public String getWebHookUrl() {
        return webHookUrl;
    }

    public void setWebHookUrl(String webHookUrl) {
        this.webHookUrl = webHookUrl;
    }

    public String getAlarmTitle() {
        return alarmTitle;
    }

    public void setAlarmTitle(String alarmTitle) {
        this.alarmTitle = alarmTitle;
    }
    public String getEnv() {
        return env;
    }

    public void setEnv(String env) {
        this.env = env;
    }
}
